<!--{if empty($_GET['inajax'])}-->
<!--{template common/header_simple}-->
<!--{if $_G[setting][loginset][lwaveanimation]}--><link rel="stylesheet" type="text/css" href="static/css/animate.min.css?{VERHASH}"><!--{/if}-->
<link rel="stylesheet" type="text/css" href="static/dzzicon/materialdesignicons.min.css?{VERHASH}">
<link rel="stylesheet" type="text/css" href="static/css/style.min.css?{VERHASH}">
<!--{template common/beijing}-->
<style>
	body{
		overflow:auto;
	}
	.signin-form .has-feedback {
    position: relative;
}
	.signin-form .has-feedback .form-control {
			padding-left: 36px;
	}
	.signin-form .has-feedback .mdi {
			position: absolute;
			top: 0;
			left: 0;
			right: auto;
			width: 36px;
			height: 36px;
			line-height: 36px;
			z-index: 4;
			color: #dcdcdc;
			display: block;
			text-align: center;
			pointer-events: none;
	}
	.signin-form .form-group:last-child,
	.login-right p:last-child {
			margin-bottom: 0px;
	}
	.login-box {
			max-width: 700px;
	}
	.login-right {
			max-width: 50%;
      text-align: center;
	}
	<!--{if $_G[setting][loginset][kbcolor]}-->
	.card{
		background-color:$_G[setting][loginset][kbcolor];
	}
	<!--{/if}-->
  <!--{if $_G[setting][loginset][transparency]}-->
	.form-control{
		background-color:$_G[setting][loginset][transparency];
	}
	<!--{/if}-->
</style>
<!--[if lt IE 9]>
  <script src="static/js/jquery.placeholder.js" type="text/javascript"></script>
<![endif]-->
<script type="text/javascript" src="user/scripts/login.js?{VERHASH}"></script>
<!--{eval $loginhash = 'L'.random(4);}-->
<!--{if !empty($_GET['inajax'])}--><button type="button" class="close" data-bs-dismiss="modal" aria-hidden="true">×</button><!--{/if}-->
<div class="center-vh">
	<div class="card<!--{if $_G[setting][loginset][lwaveanimation]}--> wave wave-animate-slow<!--{/if}-->">
    <div class="flex-box login-box" id="lostpw_container_$loginhash">
        <div class="login-left p-5">
          <div class="text-center mb-3 d-sm-none">
            <img src="<!--{if !$_G['setting']['bbclosed']}-->{eval echo $_G['setting']['sitelogo']?'index.php?mod=io&op=thumbnail&size=small&path='.dzzencode('attach::'.$_G['setting']['sitelogo']):'static/image/common/logo.png';}<!--{else}-->static/image/common/logo.png<!--{/if}-->" alt="logo" />
          </div>
          <h2 class="text-center">{lang getpassword}</h2>
          <div class="Mbody">
            <form class="signin-form needs-validation"  method="post" autocomplete="off" id="lostpwform_$loginhash" role="form"  onsubmit="lostpass('lostpw_container_$loginhash','lostpwform_$loginhash','returnmessage3_$loginhash');return false;" action="user.php?mod=login&op=logging&action=lostpasswd">
              <input type="hidden" name="formhash" value="{FORMHASH}" />
              <input type="hidden" name="lostpwsubmit" value="true" />
              <input type="hidden" name="handlekey" value="lostpw_$loginhash" />
              <div class="mb-3 has-feedback">
                <span class="mdi mdi-email" aria-hidden="true"></span>
                <input type="text" class="form-control" name="email" id="lostpw_email" value="" placeholder="{lang fill_your_login_email}" required/>
              </div>
              <div class="mb-3 has-feedback">
                <span class="mdi mdi-account" aria-hidden="true"></span>
                <input type="text" class="form-control" name="username" id="lostpw_username" value="" placeholder="{lang names_fill_registration}" required/>
              </div>
              <div class="mb-3 d-grid">
                <button class="btn btn-primary" name="lostpwsubmit" type="submit">{lang sure_find}</button>
              </div>
              <div class="mb-3 text-center">
                <p class="text-center">
                  <span>需要返回？</span>
                  <a href="user.php?mod=login" onclick="try{_login.logging();return false}catch(e){return true}" title="{lang back_login}">{lang back_login}</a>
                </p>
              </div>
              <p class="error-msg text-center" id="returnmessage3_$loginhash"></p>
            </form>
          </div>
          <div class="modal-footer mb-3 text-center" style="display:none;">
            <button type="button" class="btn btn-primary toMail" >{lang now_your_email}</button>
            <button type="button" class="btn btn-outline-secondary toIndex" onclick="location.href='$_G[siteurl]'">{lang back_homepage}</button>
          </div>
          <p class="text-center mt-3"><!--{template common/copyright}--></p>
        </div>
        <div class="login-right p-5 d-none d-sm-block">
          <p class="mb-3"><img src="{eval echo $_G['setting']['sitelogo']?'index.php?mod=io&op=thumbnail&size=small&path='.dzzencode('attach::'.$_G['setting']['sitelogo']):'static/image/common/logo.png';}" alt="logo" /></p>
          <!--{if $_G[setting][loginset][subtitle]}--><p class="text-white">$_G[setting][loginset][subtitle]</p><!--{/if}-->
          <!--{if $_G[setting][metadescription]}--><p class="text-white align-self-end">$_G[setting][metadescription]</p><!--{/if}-->
        </div>
      </div>
	</div>
</div>
<script type="text/javascript">
  jQuery(document).ready(function(e) {
    jQuery('#lostpw_email').focus();
        if(jQuery('.ie8').length){ //ie8模拟placeholder;
      jQuery(':input[placeholder]').each(function(){
        jQuery(this).placeholder();
      });
    }
    });
</script>
<script type="text/javascript" src="user/scripts/setbacksize.js?{VERHASH}"></script>
<!--{template common/footer}-->
<!--{/if}-->